using System;
using System.Collections.Generic;
using System.Text;

namespace TQB.Model
{
    /// <summary>
    /// User Model Class
    /// </summary>
    [Serializable]
    public class Users
    {
        public Users()
        { }

        #region Model

        private int _id;
        private string _name;
        private string _password;
        private int? _code;
        private int? _gread;

        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int? Code
        {
            set { _code = value; }
            get { return _code; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int? Gread
        {
            set { _gread = value; }
            get { return _gread; }
        }

        #endregion Model
    }
}
